package DAYyy;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs =new Student("张三",25,"江西","jds2302","001");
        zs.stuld();
        zs.sayHi();
        zs.sleep();
        Teacher LS=new Teacher("刘老师",20,"广州",5000);
        LS.sb();
        LS.sayHi();
        Doctor ww = new Doctor("孙老师",20,"广州","主治");
        ww.cut();



    }
}
